 <template>
  <div>
    <!-- 三级联动的全局组件：三级联动已经是全局组件，因此不需要在引入 -->
    <TypeNav />
    <ListContainer />
    <Recommend />
    <Rank />
    <Like />
    <Floor />
    <Floor />
    <Brand />
  </div>
</template>
     
 <script>
//引入其他组件
import ListContainer from './LIstContainer/index.vue'
import Recommend from './Recommend/index.vue'
import Rank from './Rank/index.vue'
import Like from './Like/index.vue'
import Floor from '@/pages/Home/Floor/index.vue'
import Brand from './Brand/index.vue'
export default {
  data() {
    return {}
  },
  components: {
    ListContainer,
    Recommend,
    Rank,
    Like,
    Floor,
    Brand,
  },
  mounted() {
    // 派发actons，获取floor组件的数据
    this.$store.dispatch('getFloorList')
  },
}
</script>
     
 <style>
</style>